package cn.funeralobjects.ams.model;

import cn.funeralobjects.util.annotation.ArgHasLength;
import cn.funeralobjects.util.annotation.ArgNotZero;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author FuneralObjects
 * Create date: 2020/6/7 10:36 AM
 */
@Data
@Accessors(chain = true)
public class RamRole {
    /**
     * 角色名
     */
    @ArgHasLength
    private String roleName;
    @ArgHasLength
    private String code;
    @ArgHasLength
    private String name;
    /**
     * 访问id
     */
    @ArgNotZero
    private Integer resProdId;
}
